package com.yc.springcloud.service.impl;

import com.yc.springcloud.entity.Member;
import com.yc.springcloud.service.MemberOpenFeignService;
import com.yc.springcloud.utils.Result;
import org.springframework.stereotype.Component;

/**
 * @Author DELL
 * @Date 2024/11/12 23:16
 * @Version 1.0
 */
@Component
public class MemberFeignFallbackService implements MemberOpenFeignService {

	@Override
	public Result<Member> getMemberById(long id) {
		return Result.error("500", "被调用服务异常");
	}
}
